class Location {
  int id;
  String departmentId;
  String name;
  String description;

  static Location formMap(Map<String, dynamic> map) {
    Location location = Location();
    location.id = map['id'];
    location.name = map['name'];
    location.departmentId = map['departmentId'];
    location.description = map['description'];
    return location;
  }
}
